package zhongbo.java.air;

import lombok.extern.slf4j.Slf4j;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.ConfigurableApplicationContext;
import org.springframework.scheduling.annotation.EnableScheduling;

@SpringBootApplication
@Slf4j
@MapperScan("zhongbo.java.air.monitor.mapper")
@EnableScheduling
public class Monitor {
   public static void main(String[] args) {
      ConfigurableApplicationContext context = SpringApplication.run(Monitor.class);
      System.out.println("http://localhost:8004/doc.html");
      System.out.println("http://localhost:8004/websocket-display.html");
   }
}